Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 14 - Shader Objects / Shader Objects Reference
Shader Objects Routines / Managing Shader Characteristics


Q3Shader_GetVBoundary

You can use the Q3Shader_GetVBoundary function to get the current boundary-handling mode for v values that are outside the range 0 to 1.

TQ3Status Q3Shader_GetVBoundary (
TQ3ShaderObject shader, 
TQ3ShaderUVBoundary *vBoundary);
shader
A shader.
vBoundary
On exit, a value that indicates the current method of handling v values that are outside the range 0 to 1. See "Boundary-Handling Methods" on page 14-16 for a description of the values that can be returned.
DESCRIPTION
The Q3Shader_GetVBoundary function returns, in the vBoundary parameter, the current method used by the shader specified by the shader parameter of handling v values that are outside the range 0 to 1. If Q3Shader_GetVBoundary completes successfully, the vBoundary parameter contains one of these values:

typedef enum TQ3ShaderUVBoundary {
   kQ3ShaderUVBoundaryWrap,
   kQ3ShaderUVBoundaryClamp
} TQ3ShaderUVBoundary;

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996